package DesignPatern.A19_访问者模式.QSB.A03_高级模式;

/**
 * @Author: Du
 * @Date: 2021/8/6 8:50
 */
public class Manager extends Employee
{
    private String performance;
    
    public String getPerformance()
    {
        return performance;
    }
    
    public void setPerformance(String performance)
    {
        this.performance = performance;
    }
    
    @Override
    protected String getOtherInfo()
    {
        return "业绩" + this.performance;
    }
    
    @Override
    protected void accept(IVisitor iVisitor)
    {
        iVisitor.visit(this);
    }
}
